/**
 * Created by supre on 2016/7/17.
 */
var a = require('./../css/style.css');

import React from 'react';
import ReactDOM from 'react-dom';
import Area from './components/Area';


var aa = ReactDOM.render(
    <Area></Area>,
    document.querySelector('#wrapper')
);

if (module.hot) {
    require('react-hot-loader/Injection').RootInstanceProvider.injectProvider({
        getRootInstances: function () {
            // Help React Hot Loader figure out the root component instances on the page:
            // 帮助 React Hot Loader 识别出页面中的根组件
            return [aa];
        }
    });
}
